package com.work.Bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ModeFactory {

  @Autowired
  private Mode mode;

  public void sysout() {
    mode.syso();
  }
}
